<%@ page language="java" pageEncoding="UTF-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@page import="school.*,school.dao.*,school.entity.*,util.*,java.util.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>注册信息</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
	<body>
	<%@ include file="loginControl.jsp" %>   <%-- 引入验证文件 --%>
	<%
	    request.setCharacterEncoding("UTF-8");
	     int stuno = (Integer) session.getAttribute("login");// Integer.parseInt(request.getParameter("stuno"));
	%>

		        <%
		        MySqlStudentDaoImpl obj = new MySqlStudentDaoImpl();
		        Student stu=new Student();
		   		 List<Score> list=obj.showScore(stuno);
		      for(Score sc:list){
		      out.println(sc +"\n");    
		      }
		        %>
		        </td>
		    </tr>
		</table>
	</div>
	</body>
	<footer>
	<%@ include file="Copyright.jsp" %>   
	</footer>
	
</html>
